package cn.strive.eams.scrapRequire.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class ScrapRequire {
    @ApiModelProperty(value = "报废申请单ID")
    Long id;
    @ApiModelProperty(value = "资产信息")
    String asset;
    @ApiModelProperty(value = "申请人ID")
    Long userId;
    @ApiModelProperty(value = "申请人电话")
    String phone;
    @ApiModelProperty(value = "申请人邮箱")
    String email;
    @ApiModelProperty(value = "申请人所属部门或院系")
    String department;
    @ApiModelProperty(value = "申请日期")
    Date requestDate;
    @ApiModelProperty(value = "申请人姓名")
    String username;
    @ApiModelProperty(value = "报废原因")
    String reason;
    @ApiModelProperty(value = "审批日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    Date approvalDate;
    @ApiModelProperty(value = "审批人ID")
    Long approvalById;
    @ApiModelProperty(value = "审批表状态")
    String status;
    @ApiModelProperty(value = "照片路径")
    String imagePath;
    @ApiModelProperty(value = "申请表创建时间")
    Date createTime;
    @ApiModelProperty(value = "申请表更新时间")
    Date updateTime;



}
